//
// Created by Ge on 2024/3/6.
//

#ifndef INC_3DMODEL_MATRIX_H
#define INC_3DMODEL_MATRIX_H

#include <GLES2/gl2.h>

void frustumM(float *m, int offset, float left, float right, float bottom, float top, float near,
              float far);

void setLookAtM(float *rm, int rmOffset,
                float eyeX, float eyeY, float eyeZ,
                float centerX, float centerY, float centerZ, float upX, float upY,
                float upZ);

void multiplyMM(float *result, int resultOffset,
                float *lhs, int lhsOffset, float *rhs, int rhsOffset);

#endif //INC_3DMODEL_MATRIX_H
